﻿using Newtonsoft.Json;
using ProjectManageSystemApi.Utilities;
using System.Collections.Generic;

namespace ProjectManageSystemApi.Models
{
    public class UserInfoDto
    {
        [JsonConverter(typeof(LongConverter))]
        public long Id { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string UserName { get; set; }
        
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 修改角色Id
        /// </summary>
        public List<long> RoleIds { get; set; } = new List<long>();

        /// <summary>
        /// 修改角色名称
        /// </summary>
        public string Roles { get; set; }

        /// <summary>
        /// 昵称/会员名
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }

        /// <summary>
        /// 性别(0女,1男)
        /// </summary>
        public sbyte? Sex { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        public string PhoneNumber { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 国家
        /// </summary>
        public string Country { get; set; }

        /// <summary>
        /// 省州
        /// </summary>
        public string State { get; set; }

        /// <summary>
        /// 城市  
        /// </summary>
        public string City { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Desc { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string CorpName { get; set; }

        /// <summary>
        /// 公司地址
        /// </summary>
        public string CorpAddress { get; set; }

        /// <summary>
        /// 公司电话
        /// </summary>
        public string CorpPhone { get; set; }

        /// <summary>
        /// 状态 0: 正常, 1: 禁用
        /// </summary>
        public int Status { get; set; }

    }
}
